package com.manong.bookstore.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 *
 * @author cyq
 * @email 465447222@qq.com
 * @date 2021-01-26 21:37:15
 */
@Data
@TableName("oms_order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * $column.comments
	 */
	@TableId(value = "order_id",type = IdType.AUTO)
	private Integer orderId;
	/**
	 * $column.comments
	 */
	private Integer userId;
	/**
	 * $column.comments
	 */
	private Integer storeId;
	/**
	 * $column.comments
	 */
	private String buyerName;
	/**
	 * $column.comments
	 */
	private String buyerPhone;
	/**
	 * $column.comments
	 */
	private String buyerAddress;
	/**
	 * $column.comments
	 */
	private BigDecimal orderAmount;
	/**
	 * $column.comments
	 */
	private String orderStatus;
	/**
	 * $column.comments
	 */
	private String payStatus;
	/**
	 * $column.comments
	 */
	private Date payTime;
	/**
	 * $column.comments
	 */
	private Date sentTime;
	/**
	 * $column.comments
	 */
	private Date arrivedTime;
	/**
	 * $column.comments
	 */
	private Date finishTime;

}
